package com.fuego.creditsystemcommodity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Activity;

import java.util.List;


public interface ActivityMapper extends BaseMapper<Activity> {

    List<Activity> queryActivityOfOrganizer(@Param("organizerId") Long organizerId);

    List<Activity> queryAllActivity();

    List<Activity> queryActivityById(Long activityId);
}
